del S_imprimir.jar


keytool -genkey -alias aliasxyz -keystore storexyz -keypass spwdxyz -dname "CN=Pentagrama, OU=Pentagrama, O=Pentagrama,L=Belo Horizonte,ST=Minas Gerais, C=BR" -storepass spwdxyz -validity 99999
jarsigner -keystore storexyz -storepass spwdxyz -keypass spwdxyz -signedjar S_rede.jar rede.jar aliasxyz
jarsigner -keystore storexyz -storepass spwdxyz -keypass spwdxyz -signedjar S_hamcrest-core-1.3.jar hamcrest-core-1.3.jar aliasxyz
jarsigner -keystore storexyz -storepass spwdxyz -keypass spwdxyz -signedjar S_commons-net-3.2.jar commons-net-3.2.jar aliasxyz
keytool -export -keystore storexyz -storepass spwdxyz -alias aliasxyz -file certxyz.cer
keytool -import -alias aliasray -file certxyz.cer -keystore storeray -storepass spwdray

del storexyz
del storeray
del imprimir.jar
del certxyz.cer
pause
